import buildingApi from '@/config/server/api/building';

function uploadTemplate(data) {
  let upload = buildingApi.uploadTemplate
  upload.setData(data)
  return upload
}

function downloadTemplate(info) {
  return buildingApi.downloadTemplate.fetch(info)
}


function saveUnitFloor(info) {
  return buildingApi.modeling.saveUnitFloor.fetch(info)
}

function buildingDongList(info) {
  return buildingApi.modeling.buildingDongList.fetch(info)
}

function saveBuild(info) {
  return buildingApi.house.saveBuild.fetch(info)
}


export default {
  uploadTemplate,
  downloadTemplate,
  saveUnitFloor,
  buildingDongList,
  saveBuild,
}